#include <stdio.h>
#include <string.h>

struct People
{
    char name[18];
    int age;
    char sex;
    float shouru;
    char* addr;
};



int main()
{
    struct People stu[5];
    int i;
    for(i=0;i<5;i++)
	{
	stu[i].age = i;
    stu[i].sex = i;
    stu[i].shouru = 789.56i;
    stu[i].addr = "shenzhen";
    strcpy(stu[i].name, "zhangsan");
    printf("Name: %s\n", stu[i].name);
    printf("Age: %d\n", stu[i].age);
    printf("Sex: %c\n", stu[i].sex);
    printf("Income: %.2f\n", stu[i].shouru);
    printf("Address: %s\n", stu[i].addr);

	}


    return 0;
}
